<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'regist.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<style type="text/css">
*{
	padding: 0px;
	margin: 0px;
}
body {
	background-color: #bad7e6;
}
#content{
	margin-left: 200px;
}
#center{
	margin-left: 200px;
}
span{
	font-size: 26px;
}
.input{
	width: 300px;
	height: 30px;
}
tr{
	padding-top: 50px;
}
.submit{
	border:0px;
	width:210px;
	height:60px;
	background: url("images/index/regist.jpg") no-repeat;
}
#input_submit{
	margin-top:50px;
	margin-left: 400px;
}
.input{
	/* border:0px; */
	background-color:transparent;
}
</style>
</head>
<body>
	<div id="head">
		<img id="logo" src="images/index/logo.png" />
	</div>
	<div id="content">
		<h1>注册新用户</h1>
		<div id="center">
			<form action="regist.action" method="post">
				<table class="table">
					<tr>
						<td><span>用户名:</span></td>
						<td><input type="text" class="input" name="username"/></td>
					</tr>
					<tr>
						<td><span>密码:</span></td>
						<td><input type="password" class="input" name="password"/></td>
					</tr>
					<tr>
						<td><span>确认密码:</span></td>
						<td><input type="password" class="input" name="repassword"/></td>
					</tr>
					<tr>
						<td><span>姓名:</span></td>
						<td><input type="text" class="input" name="name"/></td>
					</tr>
					<tr>
						<td><span>电话:</span></td>
						<td><input type="text" class="input" name="tele"/></td>
					</tr>
					<tr>
						<td><span>系别:</span></td>
						<td><select name="dept" class="input">
							<option value="计算机系">计算机系</option>
							<option value="动力工程系">动力工程系</option>
							<option value="电力工程系">电力工程系</option>
							<option value="环境工程系">环境工程系</option>
							<option value="电子信息系">电子信息系</option>
							<option value="土木工程系">土木工程系</option>
							<option value="自动化系">自动化系</option>
						</select></td>
					</tr>
					<tr>
						<td><span>注册码:</span></td>
						<td><input type="text" class="input" name="regcode"/></td>
					</tr>
				</table>
				<div id="input_submit">
					<input type="submit" class="submit" value="">
				</div>
			</form>
		</div>
	</div>
	<div id="foot"></div>
</body>
</html>
